import java.util.ArrayList;
import java.util.List;

public class Test {
    //洗牌算法
    public static void main(String[] args) {
        Game game = new Game();
        List<Card> cardList = game.creatCard();
        System.out.println("初始牌：" + cardList);
        game.shuffle(cardList);
        System.out.println("初始牌：" + cardList);

        List<List<Card>> hand = game.play(cardList);
        for (int i = 0; i < hand.size(); i++) {
            System.out.println("第" + i + "个人的牌是：" + hand.get(i));
        }

        System.out.println("剩下的牌：" + cardList);
    }
}
